import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import App from './App';

import store from './store';
// 渲染组件
ReactDOM.render(
  // 2. 绑定React和Redux
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
);
